import React from 'react'
import routerconfig from '../router'
import {useRoutes} from "react-router-dom"
import {Suspense} from "react"
function App() {
  return (
    <>
        <Suspense fallback={<div>...加载中</div>}>
            {
                useRoutes(routerconfig)
            }
        </Suspense>
       
    </>
  )
}

export default App